export default {
	namespaced: true,
	state: {
		id: 0,
		name: '',
		org: [],
		mod: [],
		des: [],
		men: [],
		rol: [],
		usr: [],
		dep: [],
		bdp: [],
		gdp: [],
		dty: [],
		userType: 0
	},
	mutations: {
		updateId(state, id) {
			state.id = id
		},
		updateName(state, name) {
			state.name = name
		},
		SET_AUTH: (state, data) => {
			state[data[0]] = data
		},
		SET_USER_TYPE: (state, data) => {
			state.userType = data
		}
	}
}
